# For multiple programs using a single source file each,
# we can just define 'progs' and create custom targets.
TARGET	= ../libnetmap.a

CLEANFILES = *.o
NO_MAN=
CFLAGS = -O2 -pipe -g
CFLAGS += -Werror -Wall
CFLAGS += -I ../sys # -I/home/luigi/FreeBSD/head/sys -I../sys
CFLAGS += -Wextra

#LDFLAGS += -lpthread 
#LDFLAGS += -lrt	# on linux
#SRCS = netmap.c

all: $(TARGET)

$(TARGET): netmap.o nm_util.o
	$(AR) r $(TARGET) netmap.o nm_util.o 

clean:
	-@rm -rf $(CLEANFILES)
